import request from '@/utils/request.js'

export const getSearchSuggestions = q => {
	return request({
		url: '/v1_0/suggestion',
		params: {q}
	})
}

export const getSearchResults = params => {
	return request({
		url: '/v1_0/search',
		params
	})
}